﻿using DreamCMS.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DreamCMS.BLL.Factory.Interface
{
    public interface ISiteSettingDAO
    {
        /// <summary>
        /// 更新站点设置信息
        /// </summary>
        /// <param name="siteSetting">站点设置信息实体</param>
        /// <returns>是否更新成功</returns>
        bool UpdateSetting(SiteSettingInfo siteSetting);
        /// <summary>
        /// 获取站点设置实体
        /// </summary>
        /// <returns>返回站点设置信息实体</returns>
        SiteSettingInfo GetSiteSetting();
    }
}
